import Container from "../../pages/merchant/container"
import Merchant from "../../pages/merchant/merchant"
import Addmerchant from "../../pages/merchant/Addmerchant";
import Detail from "../../pages/merchant/detail";

const merchant={
    path: "",
  element: <Container />,
  children: [
    {
      name:'商户管理',
      path: "merchant",
      element: <Merchant></Merchant>
    },
    
    {
      name:'添加商户',
      path: "merchant/Addmerchant",
      element: <Addmerchant></Addmerchant>
    },
    {
      name:'商户详情',
      path:"merchant/detail/:id?",
      element:<Detail></Detail>
    }
  ]
}
export default merchant;